package com.linkage.usercenter.pojo.entity;

import com.linkage.usercenter.pojo.baseDO.TableBaseBO;

import java.io.Serializable;
import java.util.Date;

/**
 * 这是MyBatis Generator自动生成的Model Class.
 * 对应的数据表是 : CORE_ORG_INFO
 * @author dev
 * @date 2020-04-19 15:17:07
 */
public class CoreOrgInfo extends TableBaseBO implements Serializable {


    /**
     * 机构代码
     */
    private String orgCode;

    /**
     * 机构名称
     */
    private String orgName;

    /**
     * 机构证件类型
     */
    private String orgCardType;

    /**
     * 机构证件号码
     */
    private String orgCardNumber;

    /**
     * 机构类别
     */
    private String orgClass;

    /**
     * 机构地址
     */
    private String orgAddress;

    /**
     * 机构描述
     */
    private String orgDesc;

    /**
     * 机构是否删除（0：正常；1：已删）
     */
    private String orgDelFlag;

    /**
     * 机构状态
     */
    private String orgStatus;



    private static final long serialVersionUID = 1L;



    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode == null ? null : orgCode.trim();
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName == null ? null : orgName.trim();
    }

    public String getOrgCardType() {
        return orgCardType;
    }

    public void setOrgCardType(String orgCardType) {
        this.orgCardType = orgCardType == null ? null : orgCardType.trim();
    }

    public String getOrgCardNumber() {
        return orgCardNumber;
    }

    public void setOrgCardNumber(String orgCardNumber) {
        this.orgCardNumber = orgCardNumber == null ? null : orgCardNumber.trim();
    }

    public String getOrgClass() {
        return orgClass;
    }

    public void setOrgClass(String orgClass) {
        this.orgClass = orgClass == null ? null : orgClass.trim();
    }

    public String getOrgAddress() {
        return orgAddress;
    }

    public void setOrgAddress(String orgAddress) {
        this.orgAddress = orgAddress == null ? null : orgAddress.trim();
    }

    public String getOrgDesc() {
        return orgDesc;
    }

    public void setOrgDesc(String orgDesc) {
        this.orgDesc = orgDesc == null ? null : orgDesc.trim();
    }

    public String getOrgDelFlag() {
        return orgDelFlag;
    }

    public void setOrgDelFlag(String orgDelFlag) {
        this.orgDelFlag = orgDelFlag == null ? null : orgDelFlag.trim();
    }

    public String getOrgStatus() {
        return orgStatus;
    }

    public void setOrgStatus(String orgStatus) {
        this.orgStatus = orgStatus == null ? null : orgStatus.trim();
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orgCode=").append(orgCode);
        sb.append(", orgName=").append(orgName);
        sb.append(", orgCardType=").append(orgCardType);
        sb.append(", orgCardNumber=").append(orgCardNumber);
        sb.append(", orgClass=").append(orgClass);
        sb.append(", orgAddress=").append(orgAddress);
        sb.append(", orgDesc=").append(orgDesc);
        sb.append(", orgDelFlag=").append(orgDelFlag);
        sb.append(", orgStatus=").append(orgStatus);
        sb.append(", createCode=").append(createCode);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateCode=").append(updateCode);
        sb.append(", updateDate=").append(updateDate);
        sb.append("]");
        return sb.toString();
    }
}